package bar.dark.lee.alarm.effect;

import bar.dark.lee.alarm.R;
import bar.dark.lee.alarm.SuperActivity;

/**
 * 알람 효과 테스트와 실제 효과 화면
 * @author HyoJun Lee
 *
 */
public abstract class EffectActivity extends SuperActivity
{
	public static final String FLAG_TEST_REAL = "flag_test_real";
	
	public void setTitle(int effectNumber)
	{
		String strEffect = "";
		
		switch (effectNumber) 
		{
			case EffectListActivity.EFFECT0:
				strEffect = gets(R.string.effectlist_0_title);
				break;
			case EffectListActivity.EFFECT1:
				strEffect = gets(R.string.effectlist_1_title);
				break;
			case EffectListActivity.EFFECT2:
				strEffect = gets(R.string.effectlist_2_title);
				break;
			case EffectListActivity.EFFECT3:
				strEffect = gets(R.string.effectlist_3_title);
				break;
			case EffectListActivity.EFFECT4:
				strEffect = gets(R.string.effectlist_4_title);
				break;
			case EffectListActivity.EFFECT5:
				strEffect = gets(R.string.effectlist_5_title);
				break;
			default:
				break;
		}
		
		super.setTitle(strEffect);
	}
}
